@extends('hrs.layouts.app')  
@section('css')
        <!-- Custombox css -->
        <link href="{{asset('hrs/plugins/custombox/css/custombox.css')}}" rel="stylesheet">
  
@endsection         
@section('content')

            <div class="container">

               

                <div class="row">
                    <div class="col-lg-12">
                        <div class="card-box">
                            <div class="row">
                                <div class="col-sm-8">
                                    <form role="form">
                                        <div class="form-group contact-search m-b-30">
                                            <input type="text" id="search" class="form-control" placeholder="Search..." name="keyword">
                                            <button type="submit" class="btn btn-white"><i class="fa fa-search"></i></button>
                                        </div> <!-- form-group -->
                                    </form>
                                </div>
                                <div class="col-sm-4">
                                    

                                    <a href="{{url('admins/create')}}" class="btn btn-inverse btn-md waves-effect waves-light m-b-30" 
                                                           >添加</a>                       
                                </div>
                            </div>

                            <div class="table-responsive">
                                <table class="table table-hover mails m-0 table table-actions-bar">
                                    <thead>
                                        <tr>
                                            <th>
                                                <div class="checkbox checkbox-primary checkbox-single m-r-15">
                                                    <input id="action-checkbox" type="checkbox">
                                                    <label for="action-checkbox"></label>
                                                </div>
                                               
                                            </th>
                                            <th>用户名</th>
                                            <th>真名</th>
                                           <!--  <th>邮箱</th> -->
                                         
                                            <th style="min-width: 90px;">操作</th>
                                        </tr>
                                    </thead>

                                    <tbody>
                                        @foreach($list as $v)
                                        <tr class="active">
                                            <td>
                                                <div class="checkbox checkbox-primary m-r-15">
                                                    <input id="checkbox2" type="checkbox" >
                                                    <label for="checkbox2"></label>
                                                </div>

                                               
                                            </td>

                                            <td>
                                                {{$v->username}}
                                            </td>

                                            <td>
                                                <a href="#">{{$v->truename}}</a>
                                            </td>

                                            

                                           
                                            <td>
                                                <a href="{{url('admins/'.$v->id.'/edit')}}" class="table-action-btn"><i class="md md-edit"></i></a>
                                                <a href="#" class="table-action-btn"><i class="md md-close"></i></a>
                                            </td>
                                        </tr>
                                        @endforeach

                                        


                                        

                                    </tbody>
                                </table>
                            </div>
                        </div>

                    </div> <!-- end col -->


                </div>

               

            </div> <!-- end container -->
@endsection        

        
@section('js')
  <!-- Modal-Effect -->
        <script src="{{asset('hrs/plugins/custombox/js/custombox.min.js')}}"></script>
        <script src="{{asset('hrs/plugins/custombox/js/legacy.min.js')}}"></script>
@endsection

